package com.asiainfo.iov.entity;

import com.library.adapter_listview.Entity;

import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * 消息entity
 *
 * @author YobertJomi
 * className MessageInfo
 * created at  2017/3/16  16:30
 */
@org.greenrobot.greendao.annotation.Entity
public class MessageInfo extends Entity {
    @Id(autoincrement = true)
    private Long autoincrementId;
    private String id;
    private boolean isReaded;
    private boolean isDeleted;
    private boolean isTest;
    private String title;
    private String content;
    private String date;
    private String imgUrl;
    private int status;

    @Generated(hash = 53440903)
    public MessageInfo(Long autoincrementId, String id, boolean isReaded,
                       boolean isDeleted, boolean isTest, String title, String content,
                       String date, String imgUrl, int status) {
        this.autoincrementId = autoincrementId;
        this.id = id;
        this.isReaded = isReaded;
        this.isDeleted = isDeleted;
        this.isTest = isTest;
        this.title = title;
        this.content = content;
        this.date = date;
        this.imgUrl = imgUrl;
        this.status = status;
    }

    @Generated(hash = 1292770546)
    public MessageInfo() {
    }

    public Long getAutoincrementId() {
        return this.autoincrementId;
    }

    public void setAutoincrementId(Long autoincrementId) {
        this.autoincrementId = autoincrementId;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean getIsReaded() {
        return this.isReaded;
    }

    public void setIsReaded(boolean isReaded) {
        this.isReaded = isReaded;
    }

    public boolean getIsDeleted() {
        return this.isDeleted;
    }

    public void setIsDeleted(boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return this.date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getImgUrl() {
        return this.imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean getIsTest() {
        return this.isTest;
    }

    public void setIsTest(boolean isTest) {
        this.isTest = isTest;
    }
}
